﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DashboardViewColumn.ascx.cs" Inherits="RecruitingApplication.DashboardView.DashboardViewColumn" %>
<%@ Register Src="~/Controls/DashboardView/DashboardViewDraggable.ascx" tagname="DashboardViewDraggable" tagprefix="D" %>

<div class="DashboardViewColumn">
    <input type="hidden" id="StateID" value='<%= StateID %>' />
    <div id="Header" class="DashboardViewHeader ui-widget-header ui-state-default ui-corner-all">
        <asp:Label runat="server" ID="StateNameLbl" CssClass="DashboardViewStateLabel"></asp:Label>
    </div>
    <div class="DashboardViewEmptyColumn ui-state-disabled ui-helper-hidden">
         There are currently no candidates in this state.
    </div>
    <asp:ListView runat="server" ID="CandidatesListView">
        <ItemTemplate>
            <D:DashboardViewDraggable runat="server" AppID='<%# Eval("ID") %>' CandidateName='<%# Eval("CandidateName") %>' StaleDate='<%# Eval("StaleDate") %>' />
        </ItemTemplate>
    </asp:ListView>
</div>
